package com.app.ywms.kc

import com.app.bd.corp.BdCorp
import com.app.bd.cumandoc.BdCumandoc
import com.app.bd.invmandoc.BdInvmandoc

import com.app.ywms.bd.tank.YBdTank
import com.app.ywms.contract.BaseContract

class Yonhandnum {

    String id
    Date lastUpdated    //最后修改日期
    Date dateCreated    //创建日期


    BaseContract ht//合同
    String pc //批次
    BdCumandoc hz;//货主
    BdInvmandoc invmandoc;
    YBdTank gh;//罐号
    BigDecimal sl=0;

    BdCorp bdCorp



    static constraints = {
        ht(nullable: false)
        invmandoc nullable: false
        gh nullable: false
        sl nullable: false
        hz nullable: false

        bdCorp nullable: false

    }
}
